package com.timmy.chi.utils;

import java.io.Closeable;
import java.io.IOException;

/**
 * @Author xiongxing
 * @Date 2017/2/25
 * @Fuction
 */

public class CloseUtils {

    /**
     * 关闭closeable对象
     * @param closeable
     */
    public static void closeQuiety(Closeable closeable){
        if (null!=closeable){
            try {
                closeable.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
}
